{+include file='header.html'+}
<script language="javascript" type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>

<style>
.top_tb th{width:130px;cursor:pointer}
.top_tb th,.top_tb td{height:30px;line-height:30px;text-align:left;}

.top_tb td{padding-left:10px;text-align:left;}
.top_tb th{padding-left:10px;text-align:left;}

.kjtb{margin-bottom:10px;}
.small{width:40px;}
.kjtb img{clear:both}
.txt1{width:30px;}

.txt2{width:85px;}
.txt3{width:105px;}
.txt31{width:145px;}

.txt5{width:70px;}
.txt6{width:60px;}
.wd100{margin-bottom:10px;}

.cmd input{margin-left:5px;}
.cmd select{margin-left:5px;}
.kjjr tr:hover{background:#F99}
.kjjr .ma{font-weight:bold;font-size:16px;}

.editkj{position:absolute;width:1260px;background:#fff;border:2px solid #000;display:none}
.cmd .textb{width:65px;}
body{font-size:11px;}
.xbody1{width:1260px;}
.qiua{margin:0px;float:left;width:26px;height:26px;background:url(../imgn/ball_blue1.png);line-height:26px;text-align:center;margin-right:2px;font-weight:bold}
.qiub{margin:0px;float:left;width:26px;height:26px;background:url(../imgn/ball_red1.png);line-height:26px;text-align:center;margin-right:2px;font-weight:bold}
.pikj{position:absolute;width:630px;background:#fff;border:2px solid #000;display:none;z-index:100}

.xxtb{width:1000px;position:absolute;background:#fff;display:none;border:2px solid #000}
.zes{cursor:pointer; text-decoration:underline;color:#D50000}
.xxtb tr:hover{background:#DEEFD8}
tr.z1{background:#69F}
a.red{color:red}
</style>
</head>
<body>
<script id=myjs language="javascript">var js=1;var sss='kj';</script>
<div class="xbody1">
 <table class="tinfo wd100">
    <tr>
      <th style='width:300px;'>彩种选</th><th>当前期</th><th>自动开奖</th><th>自动开关盘</th><th>特码状态</th><th>正码状态</th>
      </tr><tr> <td><select class="game">
       {+section name=i loop=$game+}
         <option value="{+$game[i].gid+}" fast='{+$game[i].fast+}'>{+$game[i].gname+}</option>
         {+/section+}
       </select></td>  <td><label>{+$game[0].thisqishu+}</label></td> <td><img  src='{+$globalpath+}img/{+$game[0].autokj+}.gif'  id="autokj"  class="status"  /></td><td><img src='{+$globalpath+}img/{+$game[0].autoopenpan+}.gif' id="autoopenpan" class="status"  /></td><td><img  src='{+$globalpath+}img/{+$game[0].panstatus+}.gif'  class="status" id="panstatus" /></td><td><img  src='{+$globalpath+}img/{+$game[0].otherstatus+}.gif'  class="status"  id="otherstatus" /></td> </tr>
    </tr>  
 </table>


 
 <table class="tinfo pikj">
   <tr><th><input type="button" class="pikjsend" value="提交数据" /><input type="button" class="pikjclose" value="关闭" style="margin-left:20px;" /><input type="button" class="pikjclear" value="清空" style="margin-left:20px;" /></th></tr>
    <tr><th><textarea class='pikjtxt' cols="70" rows="8"></textarea></th></tr>
  <tr><th style="text-align:left;padding-left:5px;">数据格式：期数+开奖号码，中间用半角逗号(,)隔开,结尾也必须有一个逗号.<BR />
          如重庆时时彩：201201012,6,7,1,2,6,<BR />
          如广东快乐十分：2013011243,19,12,02,08,18,07,17,03,<BR />
  </th></tr>
 </table>

 
   <table class="tinfo addkj wd100">
     <tr>
      <th>期数</th><th>开盘时间</th><th>关盘时间</th><th>开奖时间</th><th rowspan=2><input type="button" value="增加期数" class="add"   /></th><td rowspan="2"> 
      日期:<input type="text" class="pdate txt5 date" value="{+$sdate[10]+}"  /><BR />
      <input type="button" value="批量增加期数" class="padd"  /></td>
     </tr>
     
    <tr><td><input type="text" class='qishu txt2' value="{+$game[0].thisqishu+1+}"   /></td>
         <td><input type="text" class="opendate txt5 date" value="{+$sdate[10]+}"  />&nbsp;<input type="text" class="opentime txt6" value="00:00:00"  /></td>
          <td><input type="text" class="closedate txt5 date" value="{+$sdate[10]+}" />&nbsp;<input type="text" class="closetime txt6" value="00:00:00" /></td>
      <td><input type="text" value="{+$sdate[10]+}"  class="kjdate txt5 date" />&nbsp;<input type="text" value="00:00:00"  class="kjtime txt6" /></td>
     </tr>
  </table>
  
  
  
  
   <table class="cmd tinfo wd100">
   <tr><td colspan="2" style="text-align:left">日期:<input class='txt5 date' id="start"  value='{+$sdate[10]+}' size='11' />
    &nbsp;—&nbsp;
    <input class='txt5 date' id="end" name='end'  value='{+$sdate[10]+}' size='11' />
    <input type="button" class="s"  d=1 value="今天" />
    <input type="button" class="s"  d=2 value="昨天" />
    <input type="button" class="s"  d=3 value="本星期" />
    <input type="button" class="s"  d=4 value="上星期" />
    <input type="button" class="s"  d=5 value="本月" />
    <input type="button" class="s"  d=6 value="上月" />
    <input type="button" value='删除选定日期数据' class="deldate" t=1 />
    <input type="button" value='删除指定日期之前' class="deldate" t=2 />
    <span>选定项:</span>
    <input type="button" value='关闭报表' class="changebaostatus" action='0' /><input type="button" value='打开报表' class="changebaostatus"  action='1' />    
    <input type="button" value="删除报表" class="delbao" /><input type="button" value="删除全部" class="delall" />
    <input type="button" value='更新长龙' class="updatelong"  action='1' />
    </td></tr>
 <tr><td><input type="radio" class="jsstatus" name="jsstatus" value="2" />全部<input type="radio" class="jsstatus" name="jsstatus" value="0" />未结算<input type="radio" class="jsstatus" name="jsstatus" value="1" checked />已结算<input type="button" value="更新开奖" class="updatekj" /><input type="button" value='批量开奖' class="pikjcmd"  /><input type="button" value='批量结算' class="pijs"  /><select class="psize">
 <option value="50">每页50条</option>
 <option value="120" selected>每页120条</option>
 <option value="250">每页250条</option>
 <option value="500">每页500条</option>

 </select><input  type="hidden" value="1" class="page" />
 &nbsp;&nbsp;<input type="checkbox" class="ze" value="1" />有注单&nbsp;&nbsp;共<label class="rcount chu"></label>期
 
 </td>
 
  <td style="width:42%"></td>
  
  </tr>
 </table>
  
  <table class="tinfo wd100 kjjr"></table>
  
   <table class="editkj tinfo">
    <tr><th>期数</th><th>开盘时间</th><th>关盘时间</th><th>开奖时间</th><th>号码</th>
    <th rowspan="2"><input type="button" value="修改" class="editkjsend"  /><BR /><input type="button" value="关闭" class="editkjclose"  /></th></tr>
    
    <tr><td><label></label></td><td><input type="text" class="txt31 eopentime" /></td><td><input type="text" class="txt31 eclosetime" /></td><td><input type="text" class="txt31 ekjtime" /></td>
    <td class="kjhm"></td></tr>
 </table>
</div>
<table class="tinfo xxtb">
 <tr class="bt">
 <th style="width:50px">彩种</th>
  <th>期數</th>  
  <th>類別</th>
  <th><a href="javascript:void(0);" class="je">金額<img src="{+$globalpath+}img/down.gif" s='up' /></th>
  <th>赔率</th>
  <th>退水</th>
  <th>會員</th>
  <th><a href="javascript:void(0);" class="time">時間<img src="{+$globalpath+}img/down.gif" s='down' /></th>
 </tr>
</table>
<input type="hidden" class='sort' orderby='time' sorttype='DESC' page='1' xtype='2' tztype='0' con='' />
<iframe id='longfrm' style="display:none;"></iframe>
<div id='test' style="clear:both"></div>
<script language="javascript">
sdate=new Array();
{+foreach item=i from=$sdate key=key+}
sdate[{+$key+}]="{+$i+}";
{+/foreach+}
</script>
</body>
</html>
